// *********************************************************
// Ravi Mehra
// 904425258
// ravishi@vt.edu
// ECE 3574
// Homework 8
// 12/4/2009
// Main file that generates instance of prime search and goes in an event loop
// *********************************************************

#include "primeClass.h"
#include <QApplication>

int main( int argc, char ** argv ) {
    QApplication app( argc, argv );
    // Create instance of the prime UI
    PrimeSearch *primeUI = new PrimeSearch();
    primeUI->show();
    // Connect close
    app.connect( &app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()) );
    // Event loop
    return app.exec();
}
